<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>
        首页
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="./css/x-admin.css" media="all">
    <link rel="stylesheet" href="css/pag.css" media="all">
    <link rel="stylesheet" href="css/pag.css" media="all">
</head>

<body>
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a><cite>首页</cite></a>
            <a><cite>网站信息管理</cite></a>
            <a><cite>首页</cite></a>
        </span>
        <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
            href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon"
                style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
        <form class="layui-form x-center" action="" style="width:500px">
            <div class="layui-form-pane">
                <div class="layui-form-item">
                    <div class="layui-input-inline" style="width:400px">
                        <input type="text" name="username" placeholder="搜索内容" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-input-inline" style="width:80px">
                        <button class="layui-btn" lay-submit="" lay-filter="sreach"><i
                                class="layui-icon">&#xe615;</i></button>
                    </div>
                </div>
            </div>
        </form>
        <div class="tools">
            <ul class="toolbar">
                <li><span><img src="images/t03.png" /></span>批量删除</li>
                <li onclick="home_add('添加用户','home_add.html','600','500')"><span><img src="images/t01.png" /></span>添加
                </li>
            </ul>
            <span class="x-right" style="line-height:25px">共有数据：88 条</span></xblock>
        </div>
        <table class="tablelist">
            <thead>
                <tr>
                    <th width="5%">
                        <input onclick="selectAll()" type="checkbox" name="controlAll" style="controlAll"
                            id="controlAll">
                    </th>
                    <th width="5%">序号</th>
                    <th width="9%">模块</th>
                    <th width="5%">标题</th>
                    <th width="8%">图片</th>
                    <th width="9%">上传时间</th>
                    <th width="40%">内容</th>
                    <th width="9%">显示状态</th>
                    <th width="10%">操作</th>
                </tr>
            </thead>
            <tbody id="x-img">
                <tr>
                    <td>
                        <input type="checkbox" value="1" name="selected">
                    </td>
                    <td>1</td>
                    <td>轮播图片</td>
                    <td>pic1</td>
                    <td align="left">
                        <img src="images/banner1.jpg" alt="" width="56" height="56">
                    </td>
                    <td>2017-07-19</td>
                    <td>简述...</td>
                    <td class="td-status">
                        <button class="sp">已上传</button>
                    </td>
                    <td class="td-manage">

                        <a title="修改" href="javascript:;" onclick="home_edit('修改','home_edit.html','4','','510')"
                            class="ml-5" style="text-decoration:none">
                            <i class="layui-icon">&#xe642;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="banner_del(this,'1')" style="text-decoration:none">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="checkbox" value="2" name="selected">
                    </td>
                    <td>2</td>
                    <td>轮播图片</td>
                    <td>pic2</td>
                    <td align="left">
                        -
                    </td>
                    <td>2017-07-19</td>
                    <td>简述...</td>
                    <td class="td-status">
                        <button class="sp">已上传</button>
                    </td>
                    <td class="td-manage">

                        <a title="修改" href="javascript:;" onclick="home_edit('修改','home_edit.html','4','','510')"
                            class="ml-5" style="text-decoration:none">
                            <i class="layui-icon">&#xe642;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="banner_del(this,'1')" style="text-decoration:none">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="checkbox" value="5" name="selected">
                    </td>
                    <td>5</td>
                    <td>咨询师介绍</td>
                    <td>teacher1</td>
                    <td align="left">
                        <img src="images/t1.jpg" alt="" width="56" height="56">
                    </td>
                    <td>2017-07-15</td>
                    <td>老师1</td>
                    <td class="td-status">
                        <button class="sp">已上传</button>
                    </td>
                    <td class="td-manage">

                        <a title="修改" href="javascript:;" onclick="home_edit('修改','home_edit.html','4','','510')"
                            class="ml-5" style="text-decoration:none">
                            <i class="layui-icon">&#xe642;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="banner_del(this,'1')" style="text-decoration:none">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="checkbox" value="1" name="selected">
                    </td>
                    <td>6</td>
                    <td>咨询师介绍</td>
                    <td>teacher2</td>
                    <td align="left">
                        <img src="images/t2.jpg" alt="" width="56" height="56">
                    </td>
                    <td>2017-07-15</td>
                    <td>老师2</td>
                    <td class="td-status">
                        <button class="sp">已上传</button>
                    </td>
                    <td class="td-manage">

                        <a title="修改" href="javascript:;" onclick="home_edit('修改','home_edit.html','4','','510')"
                            class="ml-5" style="text-decoration:none">
                            <i class="layui-icon">&#xe642;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="banner_del(this,'1')" style="text-decoration:none">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="checkbox" value="7" name="selected">
                    </td>
                    <td>7</td>
                    <td>关于我们</td>
                    <td>-</td>
                    <td align="left">
                        -
                    </td>
                    <td>2017-07-15</td>
                    <td>介绍介绍介绍</td>
                    <td class="td-status">
                        <button class="sp">已上传</button>
                    </td>
                    <td class="td-manage">

                        <a title="修改" href="javascript:;" onclick="home_edit('修改','home_edit.html','4','','510')"
                            class="ml-5" style="text-decoration:none">
                            <i class="layui-icon">&#xe642;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="banner_del(this,'1')" style="text-decoration:none">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="checkbox" value="8" name="selected">
                    </td>
                    <td>8</td>
                    <td>心理新闻</td>
                    <td>抑郁症有哪些前兆？ 如何开导抑郁症患者</td>
                    <td align="left">-</td>
                    <td>2017-07-15</td>
                    <td> 您是不是发现，生活的节奏越来越快呢？
                        您是不是发现，周边的生活总是有太多的不和谐呢？
                        您是不是发现，家庭婚姻生活总是演绎着不同的悲伤乐章呢？
                        您是不是发现，生活的压力、工作的压力、子女的教育压力，来自于生活的方方面面的压力压抑着人们，心理问题也日益增多呢？</td>
                    <td class="td-status">
                        <button class="sp">已上传</button>
                    </td>
                    <td class="td-manage">

                        <a title="修改" href="javascript:;" onclick="home_edit('修改','home_edit.html','4','','510')"
                            class="ml-5" style="text-decoration:none">
                            <i class="layui-icon">&#xe642;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="banner_del(this,'1')" style="text-decoration:none">
                            <i class="layui-icon">&#xe640;</i>
                        </a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="page" v-show="show">
            <div class="pagelist"> <span class="jump">上一页</span> <span class="jump">1</span> <span class="jump">2</span>
                <span class="jump">3</span> <span class="jump">4</span> <span class="jump">5</span> <span
                    class="jump">6</span> <span class="ellipsis">...</span> <span class="jump">下一页</span> <span
                    class="jumppoint">跳转到：</span> <span class="jumpinp">
                    <input type="text">
                </span> <span class="jump gobtn">GO</span> </div>
        </div>
    </div>
    <br />
    <br />
    <br />
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script src="./js/x-layui.js" charset="utf-8"></script>
    <script src="js/jquery2.js" charset="utf-8"></script>
    <script src="js/js.js" charset="utf-8"></script>
    <script>
        layui.use(['laydate', 'element', 'laypage', 'layer'], function () {
            $ = layui.jquery;//jquery
            laydate = layui.laydate;//日期插件
            lement = layui.element();//面包导航
            laypage = layui.laypage;//分页
            layer = layui.layer;//弹出层
        });


        /*添加*/
        function home_add(title, url, w, h) {
            x_admin_show(title, url, w, h);
        }

        // 编辑
        function home_edit(title, url, id, w, h) {
            x_admin_show(title, url, w, h);
        }
        $('.tablelist tbody tr:odd').addClass('odd');
    </script>
</body>

</html>